package com.dlc.shop.user.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dlc.shop.bean.dto.ShopGrowthGainDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 店铺成长值配置
 *
 * @author lhd
 * @date 2022-10-17 17:23:24
 */
@Data
@TableName("tz_shop_growth_config")
@Schema(description = "店铺成长值配置")
public class ShopGrowthConfig implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    @Schema(description = "店铺id")
    private Long shopId;

    @Schema(description = "成长值获取配置json")
    private String growthGain;

    @Schema(description = "成长值常见问题配置")
    private String growthQuestion;

    @Schema(description = "会员权益页详情")
    private String content;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "成长值获取配置")
    @TableField(exist = false)
    private ShopGrowthGainDTO growthGainDTO;
}
